package com.Pounds.dao.DaoEvent;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class DaoEvent extends ApplicationEvent {
    public enum MySQLEventType
    {
        Normal,
        TestAndInitMySQL
    };

    private MySQLEventType event;

    public DaoEvent(Object source, MySQLEventType e) {
        super(source);
        this.event = e;
    }

    public MySQLEventType getEvent() { return event; }
}
